package br.unicamp.ic.lis.docseaservice.utils;

import com.vividsolutions.jts.geom.Coordinate;

public class Generator {

	// private static GeometryFactory geometryFactory = new GeometryFactory();
	private static final int LIMIT = 100;

	public Coordinate[] createIntCoordinates(int n) {
		Coordinate[] coordinates = new Coordinate[n];
		for (int i = 0; i < n; i++) {
			coordinates[i] = new Coordinate(Math.round(Math.random() * LIMIT),
					Math.round(Math.random() * LIMIT));
		}
		return coordinates;
	}

}
